import { Component, EventEmitter, Input, Output } from '@angular/core';

@Component({
  selector: 'app-img-shop',
  templateUrl: './img-shop.component.html',
  styleUrls: ['./img-shop.component.less']
})
export class ImgShopComponent {
 @Input() goods:any;
 @Output() childEmitter = new EventEmitter()
 Details(name:string):void{
  this.childEmitter.emit(name);
 }
}
